<nav>
    <ul class="pagination pagination-lg">
        {{#paginate pagination type="previous"}}
            <li {{#if disabled}}class="disabled"{{/if}}>
                <a href="{{../rootUrl}}?page={{n}}" aria-label="Previous">
                    <span aria-hidden="true">&laquo;</span>
                </a>
            </li>
        {{/paginate}}
        {{#paginate pagination type="middle" limit="7"}}
            <li {{#if active}}class="active"{{/if}}><a href="{{../rootUrl}}?page={{n}}">{{n}}</a></li>
        {{/paginate}}
        {{#paginate pagination type="next"}}
            <li {{#if disabled}}class="disabled"{{/if}}>
                <a href="{{../rootUrl}}?page={{n}}" aria-label="Next">
                    <span aria-hidden="true">&raquo;</span>
                </a>
            </li>
        {{/paginate}}
    </ul>
</nav>
